import Vue from 'vue';
export const showSuccessToast = (message) => {
  Vue.toasted.show(message, {
    type: 'success',
    duration: 4000
  });
};

export const showErrorToast = (message) => {
  Vue.toasted.show(message, {
    type: 'error',
    duration: 4000
  });
};

export const clearToast = () => {
  Vue.toasted.clear();
};
